package com.it.gw.data;

import java.util.HashMap;
import java.util.Map;

public class DynamicObject {
    private Map<String, String> properties;

    public DynamicObject() {
        properties = new HashMap<>();
    }

    public void setProperty(String key, String value) {
        properties.put(key, value);
    }

    // 可以添加其他方法，例如获取属性等
    public String getProperty(String key) {
        return properties.get(key);
    }
    
    public Map<String, String> getAllProperties() {
        return properties;
    }
}